module.exports = {
  presets: ['module:metro-react-native-babel-preset'],
  plugins: [
    ['import', {libraryName: '@ant-design/react-native'}], // 与 Web 平台的区别是不需要设置 style
    [
      'module-resolver',
      {
        alias: {
          '@': './',
          '@nav': './js/navigation',
          '@page': './js/page',
          '@asset': './asset',
          '@util': './js/util',
          '@api': './js/api',
        },
      },
    ],
  ],
};
